home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Resources / Online / Miami / MiamiSDK / netinclude / netinet / in_systm.h < prev    next >
C/C++ Source or Header  |  1997-12-04  |  670b  |  27 lines

  1. #ifndef _NETINET_IN_SYSTM_H_
  2. #define _NETINET_IN_SYSTM_H_
  3.  
  4. #ifndef _SYS_TYPES_H_
  5. #include <sys/types.h>
  6. #endif
  7.  
  8. /*
  9.  * Miscellaneous internetwork
  10.  * definitions for kernel.
  11.  */
  12.  
  13. /*
  14.  * Network types.
  15.  *
  16.  * Internally the system keeps counters in the headers with the bytes
  17.  * swapped so that VAX instructions will work on them.  It reverses
  18.  * the bytes before transmission at each protocol level.  The n_ types
  19.  * represent the types with the bytes in ``high-ender'' order.
  20.  */
  21. typedef u_short n_short;        /* short as received from the net */
  22. typedef u_long    n_long;            /* long as received from the net */
  23.  
  24. typedef    u_long    n_time;            /* ms since 00:00 GMT, byte rev */
  25.  
  26. #endif
  27.